package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2024-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TSite对象", description="")
public class TSite implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "场地编号（采用“楼号-楼层-区域”的格式进行编码，方便筛选）")
    private String bn;

    @ApiModelProperty(value = "父id")
    private Integer pid;

    @ApiModelProperty(value = "日租金")
    private Double rt;

    @ApiModelProperty(value = "总面积")
    private String ar;

    @ApiModelProperty(value = "公摊率")
    private Double sr;

    @ApiModelProperty(value = "基准利用率")
    private String ur;

    @ApiModelProperty(value = "归属（部门-班组）")
    private String belong;

    @ApiModelProperty(value = "文档链接")
    private String links;

    @ApiModelProperty(value = "图片（可多张用“，”连结）")
    private String imgs;

    private Integer oid;// 外键 部门id
    private Date date;

    private transient List<TSite> children;//子集

}
